#!/bin/sh

patch -p1 < "../linux-4.19.8_lzip-0.diff"

make mrproper

echo "Copying config..."
cp -f ../config-c201-v7 .config
kernel_arch=arm

make olddefconfig
make dtbs
make ARCH=$kernel_arch zImage modules

echo "Finished!"
